package com.oren.webservice;

/**
 * @Author: oren
 * @Description:  浩瀚规则匹配条件
 * @Date: Create on 2018/1/16 0016 11:47
 */
public class Condition {

	public int paramMask;			//条件字段掩码
	public long innerBeginIP;		//网内起始IP地址
	public long innerIPMask; 		//网内IP地址掩码
	public long outerBeginIP; 		//网外起始IP地址
	public long outerIPMask; 		//网外IP地址掩码
	public int innerBeginPort; 		//网内起始端口
	public int innerEndPort; 		//网内终止端口
	public int outerBeginPort; 		//网外起始端口
	public int outerEndPort; 		//网外终止端口
	public int protocol; 	// IP上层协议，0-不关心协议；1～133：协议号。只有在协议号为6（TCP）和17（UDP）时，（网内或网外）端口才有效，其他协议号，起止端口均视为无效参数。
	public int appID;				//应用的唯一标识
	public int subAppID;			//子类业务特征ID。0：不关心
	public int userId;				//用户ID，用于指定用户条件
	public int zoneId;				//区域ID，用于指定区域条件
	public int netId;				//流向ID
	public int netType;			//流向类型， 1：国内；2：国际；0：不关心
	public String domain;			//域名，目前支持最大长度512
	public int domainType;	//域名类型（暂不支持），1-反动言论；2-淫秽色情；3-网络诈骗；4-网络赌博；
	public String url;				//URL，目前支持最大长度512
	public int urlType;	//URL类型（暂不支持），1-反动言论；2-淫秽色情；3-网络诈骗；4-网络赌博；

	public int getParamMask() {
		return paramMask;
	}

	public void setParamMask(int paramMask) {
		this.paramMask = paramMask;
	}

	public long getInnerBeginIP() {
		return innerBeginIP;
	}

	public void setInnerBeginIP(long innerBeginIP) {
		this.innerBeginIP = innerBeginIP;
	}

	public long getInnerIPMask() {
		return innerIPMask;
	}

	public void setInnerIPMask(long innerIPMask) {
		this.innerIPMask = innerIPMask;
	}

	public long getOuterBeginIP() {
		return outerBeginIP;
	}

	public void setOuterBeginIP(long outerBeginIP) {
		this.outerBeginIP = outerBeginIP;
	}

	public long getOuterIPMask() {
		return outerIPMask;
	}

	public void setOuterIPMask(long outerIPMask) {
		this.outerIPMask = outerIPMask;
	}

	public int getInnerBeginPort() {
		return innerBeginPort;
	}

	public void setInnerBeginPort(int innerBeginPort) {
		this.innerBeginPort = innerBeginPort;
	}

	public int getInnerEndPort() {
		return innerEndPort;
	}

	public void setInnerEndPort(int innerEndPort) {
		this.innerEndPort = innerEndPort;
	}

	public int getOuterBeginPort() {
		return outerBeginPort;
	}

	public void setOuterBeginPort(int outerBeginPort) {
		this.outerBeginPort = outerBeginPort;
	}

	public int getOuterEndPort() {
		return outerEndPort;
	}

	public void setOuterEndPort(int outerEndPort) {
		this.outerEndPort = outerEndPort;
	}

	public int getProtocol() {
		return protocol;
	}

	public void setProtocol(int protocol) {
		this.protocol = protocol;
	}

	public int getAppID() {
		return appID;
	}

	public void setAppID(int appID) {
		this.appID = appID;
	}

	public int getSubAppID() {
		return subAppID;
	}

	public void setSubAppID(int subAppID) {
		this.subAppID = subAppID;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getZoneId() {
		return zoneId;
	}

	public void setZoneId(int zoneId) {
		this.zoneId = zoneId;
	}

	public int getNetId() {
		return netId;
	}

	public void setNetId(int netId) {
		this.netId = netId;
	}

	public int getNetType() {
		return netType;
	}

	public void setNetType(int netType) {
		this.netType = netType;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public int getDomainType() {
		return domainType;
	}

	public void setDomainType(int domainType) {
		this.domainType = domainType;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getUrlType() {
		return urlType;
	}

	public void setUrlType(int urlType) {
		this.urlType = urlType;
	}
}
